#ifndef SWP_START_POINT_GRAPHIC_ITEM_H
#define SWP_START_POINT_GRAPHIC_ITEM_H

#include "abstractellipsegraphicitem.h"

namespace swp
{

class SwpStartPointGraphicItem : public AbstractEllipseGraphicItem
{
public:
    SwpStartPointGraphicItem(QGraphicsItem* parent = 0);
    virtual ~SwpStartPointGraphicItem();

    int paletteType() const;

    // IEditorItem
    virtual bool supportsConnection(
        const core::ConnectionData& connection) const;

    virtual int type() const;

    QString name() const;

    virtual IEditorItem* copy() const;

    // IPropertyObject
    QList<core::Property> properties() const;

    QVariant propertyValue(const QString& propertyName) const;

    void propertyChanged(const QString& property,
        const QVariant& newValue, bool silent = false);

    QVariantList optionList(const QString& propertyName) const;
    QVariantList autocomplete(const QString& propertyName) const;

protected:
    // AbstractEllipseGraphicItem
    QList<QPointF> scalePoints() const;
    QList<QPointF> connectPoints() const;
    QList<QPointF> selfConnectAnchorPoints() const;
};

} // namespace swp

#endif
